package com.sanben.user.data.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author cyh
 * @description: 用户表实体类
 * @date: 2020-08-11
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "UserReq对象", description = "用户表")
public class UserReq {

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("图形验证码随机数")
    private String randomStr;

    @ApiModelProperty(required = true,value = "验证码")
    private String kaptchaCode;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("手机验证码")
    private String code;

    @ApiModelProperty("登录类型 1用户名  2手机验证码")
    private Integer loginType;

}
